<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'mobilefile-form',
	'action'=>'/site/upxlsx',
	'enableAjaxValidation'=>false,
    'htmlOptions'=>array('enctype'=>'multipart/form-data'),  
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'filePath'); ?>
		<?php echo CHtml::activeFileField($model,'filePath'); ?>
		<?php echo $form->error($model,'filePath'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'version'); ?>
		<?php echo $form->textField($model,'version',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'version'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? '提交' : '保存'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->